package cn.com.thinvent.dispatch.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (ModelTask)实体类
 *
 * @author makejava
 * @since 2023-08-09 17:19:39
 */
public class ModelTask implements Serializable {
    private static final long serialVersionUID = 950392006608859587L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 数据源类型（结构化，非结构化）
     */
    private String sourceType;
    /**
     * 源数据配置ID
     */
    private Integer sourceId;
    /*
    * 条件
    * */
    private String example;

    /**
     * 调度任务名称
     */
    private String taskName;
    /**
     * 执行状态（已执行；未执行）
     */
    private String status;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getExample() {
        return example;
    }

    public void setExample(String example) {
        this.example = example;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public Integer getSourceId() {
        return sourceId;
    }

    public void setSourceId(Integer sourceId) {
        this.sourceId = sourceId;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

